#!/usr/bin/env python
#coding: utf-8
'''
Created on 2017年2月22日

@author: Administrator
'''

from django.conf import settings
from article import settings as article_settings


ERROR = settings.ERROR
DEFAULT_COMMAND_USER = settings.DEFAULT_COMMAND_USER
ARTICLE_MEDIA_PATH = article_settings.ARTICLE_MEDIA_PATH
ATTACHMENT_MEDIA_PATH = "attachment"

ES_INDEX_ATTACHMENT_LIST = 'es_index_attachment_list'
ES_INDEX_ATTACHMENT_LIST_TYPE = 'es_index_attachment_list_type'

ATTACHMENT_TYPE_CHOICES = (
    (0, "图片"),
    (1, "文件"),
)

ATTACHMENT_IMAGE_SUFFIX_CHOICES = ["jpg", "jpeg", "png", "gif"]
